package com.friend.joey.applicationfriend.Classes;

/**
 * Created by Joey on 2017/5/28.
 */

public class Result {
    private String title;
    //搜索引擎提供的简介
    private String snippet;
    private String URL;

    public Result(String title, String snippet, String URL) {
        setTitle(title);
        setSnippet(snippet);
        setURL(URL);
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSnippet() {
        return snippet;
    }

    public void setSnippet(String snippet) {
        this.snippet = snippet;
    }

    public String getURL() {
        return URL;
    }

    public void setURL(String uRL) {
        URL = uRL;
    }
    public String getString(){
        //return "[title:"+title+" Snip:"+snippet+" url:"+URL+"]";
        return "[title:"+title+"]";
    }
}
